package com.cyf.app.network.bean;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.text.DateFormat;
import java.text.SimpleDateFormat;

/**
 * 获取优惠券响应详细
 * Created by cage on 2017/3/28.
 */
@Api
public class AppGetCouponItem {

    public static final DateFormat DATE_FORMAT = new SimpleDateFormat("yyyy.MM.dd HH:mm");

    @ApiModelProperty(value = "开始时间(yyyy-MM-dd HH:mm)")
    private String startTime;
    @ApiModelProperty(value = "截止时间(yyyy-MM-dd HH:mm)")
    private String endTime;
    @ApiModelProperty(value = "类型：1-免费小时 2-免费金额")
    private int type;
    @ApiModelProperty(value = "免费时间(单位分,例：30Min) 免费金额(单位元,例：￥3.00)")
    private String free;
    @ApiModelProperty(value = "车场优惠券二维码唯一标识")
    private String couponCode;
    @ApiModelProperty(value = "发行方")
    private String publisher;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getFree() {
        return free;
    }

    public void setFree(String free) {
        this.free = free;
    }

    public String getCouponCode() {
        return couponCode;
    }

    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }
}
